package com.tiger.cloud.service.crm;

import com.tiger.cloud.model.crm.ContactsCircle;
import com.tiger.cloud.model.crm.Customer;
import com.tiger.cloud.dao.crm.CustomerDao;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.tiger.cloud.common.mybatis.TigerBaseService;
import com.tiger.cloud.common.mybatis.MybatisTigerDao;

/**
 * 客户
 */
@Service("customerService")
public class CustomerService extends TigerBaseService<Customer> implements ICustomerService{
    
    @Autowired
	private CustomerDao customerDao;

	@Override
	public MybatisTigerDao<Customer> getEntityDao() {
		return customerDao;
	}

	@Override
	public List<ContactsCircle> findContactsCircle() {
		// TODO Auto-generated method stub
		return customerDao.findContactsCircle();
	}
	
}